switch rangeset's lock to rwlock
authorJan Beulich <jbeulich@suse.com>
Wed, 1 Oct 2014 09:31:12 +0000 (11:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 1 Oct 2014 09:31:12 +0000 (11:31 +0200)
commitadea5dca0dd9930a29e9dd0e9a7c777e03475006
tree86e7c965ea2902520af4cc4c28d20df254017fbc
parent2b2ef0c54459722943db6166da28e098af12a9e6
switch rangeset's lock to rwlock

As a general library routine, it should behave as efficiently as
possible, even if at present no significant contention is known here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/rangeset.c